#!/usr/local/bin/php
<?php
include_once './include/moblienote_class.php';
//include_once '/home/noteservice/moblienote/include/moblienote_class.php';
$oservice = new moblienote_class();
$oservice->execFile = __FILE__;

try {
    $rs = $oservice->getParam($argv);
} catch (Exception $e) {
    echo $e->getMessage();
    echo $oservice->getUsage();
    exit;
}
try{
    $oservice->run();
}
catch (Exception $ex) {
    echo 'Service is error.exmsg is :'.$ex->getMessage();
    exit;
}
